home *** CD-ROM | disk | FTP | other *** search
- global foremovie
-
- on startpictset
- global startpictnum
- if (startpictnum = 2) or (startpictnum = 4) or (startpictnum = 6) then
- set the castNum of sprite 3 to the number of member "002/004/006"
- else
- if (startpictnum = 3) or (startpictnum = 25) then
- set the castNum of sprite 3 to the number of member "003/025"
- else
- if (startpictnum = 8) or (startpictnum = 27) then
- set the castNum of sprite 3 to the number of member "008/027"
- else
- if (startpictnum = 11) or (startpictnum = 14) then
- set the castNum of sprite 3 to the number of member "011/014"
- else
- if (startpictnum = 13) or (startpictnum = 23) then
- set the castNum of sprite 3 to the number of member "013/023"
- else
- if (startpictnum = 17) or (startpictnum = 22) then
- set the castNum of sprite 3 to the number of member "017/022"
- else
- if (startpictnum = 18) or (startpictnum = 19) then
- set the castNum of sprite 3 to the number of member "018/019"
- else
- set a to digitchange(startpictnum)
- set the castNum of sprite 3 to the number of member a
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-
- on digitchange num
- set a to num / 100
- set b to (num - (100 * a)) / 10
- set c to num - (100 * a) - (10 * b)
- return a & b & c
- end
-